Part Number Hot Search : 
1N4934GL MMUN2134 CBAT54C 2SC5591 PCF5079T LIS331HH 2SC1815 XN4556
Product Description
Full Text Search
 

To Download AT90PWM216-16SUR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  7710hs?avr?07/2013 features ? high performance, low power avr ? 8-bit microcontroller ? advanced risc architecture ? 129 powerful instructions - most single clock cycle execution ? 32 x 8 general purpose working registers ? fully static operation ? up to 1 mips throughput per mhz ? on-chip 2-cycle multiplier ? data and non-volatile program memory ? 16k bytes flash of in-system programmable program memory ? endurance: 10,000 write/erase cycles ? optional boot code section with independent lock bits ? in-system programming by on-chip boot program ? true read-while-write operation ? 512 bytes of in-system programmable eeprom ? endurance: 100,000 write/erase cycles ? 1024 bytes internal sram ? programming lock for flash program and eeprom data security ? on chip debug interface (debugwire) ? peripheral features ? two or three 12-bit high speed psc (power stage controllers) with 4-bit resolution enhancement ? non overlapping inverted pwm output pins with flexible dead-time ? variable pwm duty cycle and frequency ? synchronous update of all pwm registers ? auto stop function for event driven pfc implementation ? less than 25hz step width at 150khz output frequency ? psc2 with four output pins and output matrix ? one 8-bit general purpose timer/counter with separate prescaler and capture mode ? one 16-bit general purpose timer/counter with separate prescaler, compare mode and capture mode ? programmable serial usart ? standard uart mode ? 16/17 bit biphase mode for dali communications ? master/slave spi serial interface ? 10-bit adc ? up to 11 single ended channels and 2 fully differential adc channel pairs ? programmable gain (5x, 10x, 20x, 40x on differential channels) ? internal reference voltage ? 10-bit dac ? two or three analog comparator with resistor-array to adjust comparison voltage ? 4 external interrupts ? programmable watchdog timer with separate on-chip oscillator ? special microcontroller features ? low power idle, noise reduction, and power down modes ? power on reset and programmable brown out detection ? flag array in bit-programmable i/o space (4 bytes) ? in-system programmable via spi port ? internal calibrated rc oscillator (8 mhz) ? on-chip pll for fast pwm (32 mhz, 64 mhz) and cpu (16 mhz) ? operating voltage: 2.7v - 5.5v ? extended operating temperature: ? -40c to +105c atmel 8-bit microcontroller with 16k bytes in-system programmable flash at90pwm216 /at90pwm316 summary
7710hs?avr?07/2013
3 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 1. disclaimer typical values contained in this da tasheet are based on simulations and char acterization of other avr microcon- trollers manufactured on the same process technology. min and max values will be available after the device is characterized. 2. pin configurations figure 2-1. soic 24-pin package product package 12 bit pwm with deadtime adc input adc diff analog comparator application at90pwm216 so24 2 x 2 8 1 2 one fluorescent ballast at90pwm316 so32, qfn32 3 x 2 11 2 3 hid ballast, fluorescent ballast, motor control at90pwm216 soic24 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 (pscout00/xck/ss_a) pd0 (reset/ocd) pe0 (pscin0/clko) pd1 (pscin2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 vcc gnd (miso/pscout20) pb0 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1a/sck_a) pd4 pb7(adc4/pscout01/sck) pb6 (adc7/icp1b) pb5 (adc6/int2) pb4 (amp0+) pb3 (amp0-) aref agnd avcc pb2 (adc5/int1) pd7 (acmp0) pd6 (adc3/acmpm/int0) pd5 (adc2/acmp2)
4 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 figure 2-2. soic 32-pin package at90pwm316 soic 32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 (pscout00/xck/ss_a) pd0 (int3/pscout10) pc0 (reset/ocd) pe0 (pscin0/clko) pd1 (pscin2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 (pscin1/oc1b) pc1 vcc gnd (t0/pscout22) pc2 (t1/pscout23) pc3 (miso/pscout20) pb0 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1a/sck_a) pd4 pb7(adc4/pscout01/sck) pb6 (adc7/pscout11/icp1b) pb5 (adc6/int2) pc7 (d2a) pb4 (amp0+) pb3 (amp0-) pc6 (adc10/acmp1) aref agnd avcc pc5 (adc9/amp1+) pc4 (adc8/amp1-) pb2 (adc5/int1) pd7 (acmp0) pd6 (adc3/acmpm/int0) pd5 (adc2/acmp2)
5 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 figure 2-3. qfn32 (7*7 mm) package. note: the center gnd paddle has to be connected to gnd. 1 2 3 4 5 6 7 8 24 23 22 21 20 19 18 17 (pscin2/oc1a/miso_a) pd2 (txd/dali/oc0a/ss/mosi_a) pd3 (pscin1/oc1b) pc1 vcc gnd (t0/pscout22) pc2 (t1/pscout23) pc3 (miso/pscout20) pb0 pb4 (amp0+) pb3 (amp0-) pc6 (adc10/acmp1) aref agnd avcc pc5 (adc9/amp1+) pc4 (adc8/amp1-) 32 31 30 29 28 27 26 25 9 10 11 12 13 14 15 16 (mosi/pscout21) pb1 (oc0b/xtal1) pe1 (adc0/xtal2) pe2 (adc1/rxd/dali/icp1_a/sck_a) pd4 (adc2/acmp2 ) pd5 (adc3/acmpm/int0) pd6 (acmp0) pd7 (adc5/int1) pb2 pd1 (pscin0/clko) pe0 (reset/ocd) pc0 (int3/pscout10) pd0 (pscout00/xck/ss_a) pb7 (adc4/pscout01/sck) pb6 (adc7/pscout11/icp1b) pb5 (adc6/int2) pc7 (d2a)
6 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 2.1 pin descriptions table 2-1. pin out description s024 pin number so32 pin number qfn32 pin number mnemonic type name, function & alternate function 7 9 5 gnd power ground: 0v reference 18 24 20 agnd power analog ground: 0v reference for analog part 6 8 4 vcc power power supply: 17 23 19 avcc power analog power supply: this is the power supply voltage for analog part for a normal use this pin must be connected. 19 25 21 aref power analog reference: reference for analog converter. this is the reference voltage of the a/d converter. as outpu t, can be used by external analog 8128pboi/o miso (spi master in slave out) pscout20 output 9139pb1i/o mosi (spi master out slave in) pscout21 output 16 20 16 pb2 i/o adc5 (analog input channel5) int1 20 27 23 pb3 i/o amp0- (analog differential amplifier 0 input channel ) 21 28 24 pb4 i/o amp0+ (analog differential amplifier 0 input channel ) 22 30 26 pb5 i/o adc6 (analog input channel 6) int 2 23 31 27 pb6 i/o adc7 (analog input channel 7) icp1b (timer 1 input capture alternate input) pscout11 output (see note 1) 24 32 28 pb7 i/o pscout01 output adc4 (analog input channel 4) sck (spi clock) na 2 30 pc0 i/o pscout10 output (see note 1) int3 7 3 pc1 i/o pscin1 (psc 1 digital input) oc1b (timer 1 output compare b) 10 6 pc2 i/o t0 (timer 0 clock input) pscout22 output 11 7 pc3 i/o t1 (timer 1 clock input) pscout23 output 21 17 pc4 i/o adc8 (analog input channel 8) amp1- (analog differential amplifier 1 input channel) 22 18 pc5 i/o adc9 (analog input channel 9) amp1+ (analog differential amplifier 1 input channel) 26 22 pc6 i/o adc10 (analog input channel 10) acmp1 (analog comparator 1 positive input) 29 25 pc7 i/o d2a : dac output (2)
7 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 notes: 1. pscout10 & pscout11 are not present on 24 pins package 2. d2a (dac output) not available on at90pwm261 (soic 24-pins) 3. overview the at90pwm216/316 are low-power cmos 8-bit microcontrollers based on the avr enhanced risc architec- ture. by executing powerful instructions in a sing le clock cycle, the at90pwm216/316 achieves throughputs approaching 1 mips per mhz allowing the system designer to optimize power consum ption versus processing speed. 1 1 29 pd0 i/o pscout00 output (1) xck (uart transfer clock) ss_a (alternate spi slave select) 3 4 32 pd1 i/o pscin0 (psc 0 digital input) clko (system clock output) 451pd2i/o pscin2 (psc 2 digital input) oc1a (timer 1 output compare a) miso_a (programming & alternate spi master in slave out) 562pd3i/o txd (dali/uart tx data) oc0a (timer 0 output compare a) ss (spi slave select) mosi_a (programming & alternat e master out spi slave in) 12 16 12 pd4 i/o adc1 (analog input channel 1) rxd (dali/uart rx data) icp1a (timer 1 input capture) sck_a (programming & alternate spi clock) 13 17 13 pd5 i/o adc2 (analog input channel 2) acmp2 (analog comparator 2 positive input) 14 18 14 pd6 i/o adc3 (analog input channel 3 ) acmpm reference for analog comparators int0 15 19 15 pd7 i/o acmp0 (analog comparator 0 positive input) 2 3 31 pe0 i/o or i reset (reset input) ocd (on chip debug i/o) 10 14 10 pe1 i/o xtal1: xtal input oc0b (timer 0 output compare b) 11 15 11 pe2 i/o xtal2: xtal output adc0 (analog input channel 0) table 2-1. pin out description (continued) s024 pin number so32 pin number qfn32 pin number mnemonic type name, function & alternate function
8 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 3.1 block diagram figure 3-1. block diagram the avr core combines a rich instruction set with 32 general purpose working registers. all the 32 registers are directly connected to the ar ithmetic logic unit (alu), allowing two independent regi sters to be accessed in one single instruction executed in one clock cycle. the result ing architecture is more c ode efficient wh ile achieving throughputs up to ten times faster th an conventional cisc microcontrollers. the at90pwm216/316 provides the following features: 16k bytes of in-system programmable flash with read- while-write capabilities, 512 bytes e eprom, 1024 bytes sram, 53 general purpose i/o lines, 32 general purpose working registers, three power stage controllers, two flexible timer/counters with compare modes and pwm, one usart with dali mode, an 11-channel 10-bit adc with tw o differential input stage with programmable gain, a 10- bit dac, a programmable watc hdog timer with internal oscillator, an spi serial po rt, an on-chip debug system and four software selectable power saving modes. the idle mode stops the cpu while allowing the sram, ti mer/counters, spi ports and interrupt system to con- tinue functioning. the power-down mode saves the register contents but freezes the osc illator, disabling all other chip functions until the next interrupt or hardware reset. the adc noise reduction mode stops the cpu and all i/o modules except adc, to minimize switching noise during adc conversions. in standby mode, the crystal/res- 16kx8 flash program memory instruction register instruction decoder program counter control lines 32 x 8 general purpose registrers alu status and control i/o lines eeprom 512 bytes data bus 8-bit data sra m 1024 bytes direct addressing indirect addressing interrupt unit spi unit watchdog timer 3 analog comparators dac adc psc 2/1/0 timer 1 timer 0 dali usart
9 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 onator oscillator is running while the rest of the device is sleeping. this allows very fast star t-up combin ed with low power consumption. the device is manufactured using the atmel high-density nonvolatile me mory technology. the on-chip isp flash allows the program memory to be reprogrammed in-system through an spi serial interface, by a conventional non- volatile memory programmer, or by an on-chip boot program running on the avr core. the boot program can use any interface to download the application program in the application flash memory. software in the boot flash section will continue to run while the application flash section is updated, providing true read-while-write opera- tion. by combining an 8-bit risc cpu with in-system self-programmable flash on a monolithic chip, the atmel at90pwm216/316 is a powerful microcontroller that provides a highly fl exible and cost effective solution to many embedded control applications. the at90pwm216/316 avr is supported with a full suite of program and system devel opment tools including: c compilers, macro assemblers, program debugger/simulato rs, in-circuit emulators, and evaluation kits. note: at90pwm216 device is available in soic 24-pin package an d does not have the d2a (dac output) brought out to i/0 pins. 3.2 pin descriptions 3.2.1 vcc digital supply voltage. 3.2.2 gnd ground. 3.2.3 port b (pb7..pb0) port b is an 8-bit bi-directional i/o port with internal pull- up resistors (selected for each bit). the port b output buf- fers have symmetrical drive ch aracteristics with both high si nk and source capability. as i nputs, port b pins that are externally pulled low will source current if the pull-up resistor s are activated. the port b pins are tri-stated when a reset condition becomes active, even if the clock is not running. port b also serves the functions of various spec ial features of the at90pwm216/316 as listed on page 63 . 3.2.4 port c (pc7..pc0) port c is an 8-bit bi-directional i/o port with internal pull- up resistors (selected for each bit). the port c output buf- fers have symmetrical drive characteristi cs with both high sink and source capability. as input s, port c pins that are externally pulled low will source current if the pull-up resistors are activate d. the port c pins are tri-stated when a reset condition becomes active, even if the clock is not running. port c is not available on 24 pins package. port c also serves the functions of specia l features of the at90pwm316 as listed on page 65 . 3.2.5 port d (pd7..pd0) port d is an 8-bit bi-directional i/o port with internal pull- up resistors (selected for each bit). the port d output buf- fers have symmetrical drive characteristi cs with both high sink and source capability. as input s, port d pins that are externally pulled low will source current if the pull-up resistors are activate d. the port d pins are tri-stated when a reset condition becomes active, even if the clock is not running. port d also serves the functions of various spec ial features of the at90 pwm216/316 as listed on page 68 .
10 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 3.2.6 port e (pe2..0) reset/ xtal1/ xtal2 port e is an 3-bit bi-directional i/o port with internal pull- up resistors (selected for each bit). the port e output buf- fers have symmetrical drive ch aracteristics with both high si nk and source capability. as i nputs, port e pins that are externally pulled low will source current if the pull-up resistor s are activated. the port e pins are tri-stated when a reset condition becomes active, even if the clock is not running. if the rstdisbl fuse is programmed, pe0 is used as an i/o pin. note that the electrical characteristics of pe0 dif- fer from those of the other pins of port c. if the rstdisbl fuse is unprogrammed, pe0 is used as a reset input. a low level on th is pin for longer than the minimum pulse length will generate a reset, even if the clock is not running. the minimum pulse length is given in table 8-1 on page 41 . shorter pulses are not guaranteed to generate a reset. depending on the cl ock selection fuse settings, pe1 can be used as input to the in verting oscillator amplifier and input to the internal clock operating circuit. depending on the clock selection fuse settings, pe2 can be used as output fr om the inverting o scillator amplifier. the various special features of port e are elaborated in ?alternate functions of port e? on page 71 and ?clock sys- tems and their distribution? on page 25 . 3.2.7 avcc avcc is the supply voltage pin for the a/d conver ter. it should be externally connected to v cc , even if the adc is not used. if the adc is used, it should be connected to v cc through a low-pass filter. 3.2.8 aref this is the analog reference pin for the a/d converter. 3.3 about code examples this documentation contains simple co de examples that briefly show how to use various parts of the device. these code examples assume that the part specific header file is included before compilation. be aware that not all c compiler vendors include bit definitions in the header files and interrupt handling in c is compiler dependent. please confirm with the c compile r documentation for more details.
11 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 4. register summary address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page (0xff) picr2h page 161 (0xfe) picr2l page 161 (0xfd) pfrc2b pcae2b pisel2b pelev2b pflte2b prfm2b3 prfm2b2 prfm2b1 prfm2b0 page 160 (0xfc) pfrc2a pcae2a pisel2a pelev2a pflte2a prfm2a3 prfm2a2 prfm2a1 prfm2a0 page 159 (0xfb) pctl2 ppre21 ppre20 pbfm2 paoc2b paoc2a parun2 pccyc2 prun2 page 159 (0xfa) pcnf2 pfifty2 palock2 plock2 pmode21 pmode20 pop2 pclksel2 pome2 page 156 (0xf9) ocr2rbh page 155 (0xf8) ocr2rbl page 155 (0xf7) ocr2sbh page 155 (0xf6) ocr2sbl page 155 (0xf5) ocr2rah page 155 (0xf4) ocr2ral page 155 (0xf3) ocr2sah page 155 (0xf2) ocr2sal page 155 (0xf1) pom2 pomv2b3 pomv2b2 pomv2b1 pomv2b0 pomv2a3 pomv2a2 pomv2a1 pomv2a0 page 162 (0xf0) psoc2 pos23 pos22 psync21 psync20 poen2d poen2b poen2c poen2a page 154 (0xef) picr1h page 161 (0xee) picr1l page 161 (0xed) pfrc1b pcae1b pisel1b pelev1b pflte1b prfm1b3 prfm1b2 prfm1b1 prfm1b0 page 160 (0xec) pfrc1a pcae1a pisel1a pelev1a pflte1a prfm1a3 prfm1a2 prfm1a1 prfm1a0 page 159 (0xeb) pctl1 ppre11 ppre10 pbfm1 paoc1b paoc1a parun1 pccyc1 prun1 page 158 (0xea) pcnf1 pfifty1 palock1 plock1 pmode11 pmode10 pop1 pclksel1 - page 156 (0xe9) ocr1rbh page 155 (0xe8) ocr1rbl page 155 (0xe7) ocr1sbh page 155 (0xe6) ocr1sbl page 155 (0xe5) ocr1rah page 155 (0xe4) ocr1ral page 155 (0xe3) ocr1sah page 155 (0xe2) ocr1sal page 155 (0xe1) reserved ? ? ? ? ? ? ? ? (0xe0) psoc1 ? ? psync11 psync10 ? poen1b ? poen1a page 153 (0xdf) picr0h page 161 (0xde) picr0l page 161 (0xdd) pfrc0b pcae0b pisel0b pelev0b pflte0b prfm0b3 prfm0b2 prfm0b1 prfm0b0 page 160 (0xdc) pfrc0a pcae0a pisel0a pelev0a pflte0a prfm0a3 prfm0a2 prfm0a1 prfm0a0 page 159 (0xdb) pctl0 ppre01 ppre00 pbfm0 paoc0b paoc0a parun0 pccyc0 prun0 page 157 (0xda) pcnf0 pfifty0 palock0 plock0 pmode01 pmode00 pop0 pclksel0 - page 155 (0xd9) ocr0rbh page 155 (0xd8) ocr0rbl page 155 (0xd7) ocr0sbh page 155 (0xd6) ocr0sbl page 155 (0xd5) ocr0rah page 155 (0xd4) ocr0ral page 155 (0xd3) ocr0sah page 155 (0xd2) ocr0sal page 155 (0xd1) reserved ? ? ? ? ? ? ? ? (0xd0) psoc0 ? ? psync01 psync00 ? poen0b ? poen0a page 153 (0xcf) reserved ? ? ? ? ? ? ? ? (0xce) eudr eudr7 eudr6 eudr5 eudr4 eudr3 eudr2 eudr1 eudr0 page 209 (0xcd) mubrrh mubrr15 mubrr014 mubrr13 mubrr12 mubrr011 mubrr010 mubrr9 mubrr8 page 214 (0xcc) mubrrl mubrr7 mubrr6 mubrr5 mubrr4 mubrr3 mubrr2 mubrr1 mubrr0 page 214 (0xcb) reserved ? ? ? ? ? ? ? ? (0xca) eucsrc ? ? ? ? fem f1617 stp1 stp0 page 213 (0xc9) eucsrb ? ? ? eusart eusbs ?emchbodr page 212 (0xc8) eucsra utxs3 utxs2 utxs1 utxs0 urxs3 urxs2 urxs1 urxs0 page 211 (0xc7) reserved ? ? ? ? ? ? ? ? (0xc6) udr udr07 udr06 udr05 udr04 udr03 udr02 udr01 udr00 page 209 & page 191 (0xc5) ubrrh ? ? ? ? ubrr011 ubrr010 ubrr09 ubrr08 page 195 (0xc4) ubrrl ubrr07 ubrr06 ubrr05 ubrr04 ubrr03 ubrr02 ubrr01 ubrr00 page 195 (0xc3) reserved ? ? ? ? ? ? ? ? (0xc2) ucsrc ? umsel0 upm01 upm00 usbs0 ucsz01 ucsz00 ucpol0 page 194 (0xc1) ucsrb rxcie0 txcie0 udrie0 rxen0 txen0 ucsz02 rxb80 txb80 page 193 (0xc0) ucsra rxc0 txc0 udre0 fe0 dor0 upe0 u2x0 mpcm0 page 191 (0xbf) reserved ? ? ? ? ? ? ? ? (0xbe) reserved ? ? ? ? ? ? ? ?
12 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 (0xbd) reserved ? ? ? ? ? ? ? ? (0xbc) reserved ? ? ? ? ? ? ? ? (0xbb) reserved ? ? ? ? ? ? ? ? (0xba) reserved ? ? ? ? ? ? ? ? (0xb9) reserved ? ? ? ? ? ? ? ? (0xb8) reserved ? ? ? ? ? ? ? ? (0xb7) reserved ? ? ? ? ? ? ? ? (0xb6) reserved ? ? ? ? ? ? ? ? (0xb5) reserved ? ? ? ? ? ? ? ? (0xb4) reserved ? ? ? ? ? ? ? ? (0xb3) reserved ? ? ? ? ? ? ? ? (0xb2) reserved ? ? ? ? ? ? ? ? (0xb1) reserved ? ? ? ? ? ? ? ? (0xb0) reserved ? ? ? ? ? ? ? ? (0xaf) ac2con ac2en ac2ie ac2is1 ac2is0 ? ac2m2 ac2m1 ac2m0 page 218 (0xae) ac1con ac1en ac1ie ac1is1 ac1is0 ac1ice ac1m2 ac1m1 ac1m0 page 217 (0xad) ac0con ac0en ac0ie ac0is1 ac0is0 - ac0m2 ac0m1 ac0m0 page 216 (0xac) dach - / dac9 - / dac8 - / dac7 - / dac6 - / dac5 - / dac4 dac9 / dac3 dac8 / dac2 page 247 (0xab) dacl dac7 / dac1 dac6 /dac0 dac5 / - dac4 / - dac3 / - dac2 / - dac1 / - dac0 / page 247 (0xaa) dacon daate dats2 dats1 dats0 - dala daoe daen page 246 (0xa9) reserved ? ? ? ? ? ? ? ? (0xa8) reserved ? ? ? ? ? ? ? ? (0xa7) reserved ? ? ? ? ? ? ? ? (0xa6) reserved ? ? ? ? ? ? ? ? (0xa5) pim2 - - pseie2 peve2b peve2a - - peope2 page 162 (0xa4) pifr2 - - psei2 pev2b pev2a prn21 prn20 peop2 page 163 (0xa3) pim1 - - pseie1 peve1b peve1a - - peope1 page 162 (0xa2) pifr1 - - psei1 pev1b pev1a prn11 prn10 peop1 page 163 (0xa1) pim0 - - pseie0 peve0b peve0a - - peope0 page 162 (0xa0) pifr0 - - psei0 pev0b pev0a prn01 prn00 peop0 page 163 (0x9f) reserved ? ? ? ? ? ? ? ? (0x9e) reserved ? ? ? ? ? ? ? ? (0x9d) reserved ? ? ? ? ? ? ? ? (0x9c) reserved ? ? ? ? ? ? ? ? (0x9b) reserved ? ? ? ? ? ? ? ? (0x9a) reserved ? ? ? ? ? ? ? ? (0x99) reserved ? ? ? ? ? ? ? ? (0x98) reserved ? ? ? ? ? ? ? ? (0x97) reserved ? ? ? ? ? ? ? ? (0x96) reserved ? ? ? ? ? ? ? ? (0x95) reserved ? ? ? ? ? ? ? ? (0x94) reserved ? ? ? ? ? ? ? ? (0x93) reserved ? ? ? ? ? ? ? ? (0x92) reserved ? ? ? ? ? ? ? ? (0x91) reserved ? ? ? ? ? ? ? ? (0x90) reserved ? ? ? ? ? ? ? ? (0x8f) reserved ? ? ? ? ? ? ? ? (0x8e) reserved ? ? ? ? ? ? ? ? (0x8d) reserved ? ? ? ? ? ? ? ? (0x8c) reserved ? ? ? ? ? ? ? ? (0x8b) ocr1bh ocr1b15 ocr1b14 ocr1b13 ocr1b12 ocr1b11 ocr1b10 ocr1b9 ocr1b8 page 119 (0x8a) ocr1bl ocr1b7 ocr1b6 ocr1b5 ocr1b4 ocr1b3 ocr1b2 ocr1b1 ocr1b0 page 119 (0x89) ocr1ah ocr1a15 ocr1a14 ocr1a13 ocr1a12 ocr1a11 ocr1a10 ocr1a9 ocr1a8 page 119 (0x88) ocr1al ocr1a7 ocr1a6 ocr1a5 ocr1a4 ocr1a3 ocr1a2 ocr1a1 ocr1a0 page 119 (0x87) icr1h icr115 icr114 icr113 icr112 icr111 icr110 icr19 icr18 page 119 (0x86) icr1l icr17 icr16 icr15 icr14 icr13 icr12 icr11 icr10 page 119 (0x85) tcnt1h tcnt115 tcnt114 tcnt113 tcnt112 tcnt111 tcnt110 tcnt19 tcnt18 page 119 (0x84) tcnt1l tcnt17 tcnt16 tcnt15 tcnt14 tcnt13 tcnt12 tcnt11 tcnt10 page 119 (0x83) reserved ? ? ? ? ? ? ? ? (0x82) tccr1c foc1a foc1b ? ? ? ? ? ? page 118 (0x81) tccr1b icnc1 ices1 ? wgm13 wgm12 cs12 cs11 cs10 page 117 (0x80) tccr1a com1a1 com1a0 com1b1 com1b0 ? ?wgm11wgm10 page 114 (0x7f) didr1 ? ? acmp0d amp0pd amp0nd adc10d/acmp1d adc9d/amp1pd adc8d/amp1nd page 239 (0x7e) didr0 adc7d adc6d adc5d adc4d adc3d/acmpmd adc2d/acmp2d adc1d adc0d page 239 (0x7d) reserved ? ? ? ? ? ? ? ? (0x7c) admux refs1 refs0 adlar ? mux3 mux2 mux1 mux0 page 235 (0x7b) adcsrb adhsm ? ? ? adts3 adts2 adts1 adts0 page 237 (0x7a) adcsra aden adsc adate adif adie adps2 adps1 adps0 page 236 address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
13 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 (0x79) adch - / adc9 - / adc8 - / adc7 - / adc6 - / adc5 - / adc4 adc9 / adc3 adc8 / adc2 page 238 (0x78) adcl adc7 / adc1 adc6 / adc0 adc5 / - adc4 / - adc3 / - adc2 / - adc1 / - adc0 / page 238 (0x77) amp1csr amp1en - amp1g1 amp1g0 - amp1ts2 amp1ts1 amp1ts0 page 244 (0x76) amp0csr amp0en - amp0g1 amp0g0 - amp0ts2 amp0ts1 amp0ts0 page 243 (0x75) reserved ? ? ? ? ? ? ? ? (0x74) reserved ? ? ? ? ? ? ? ? (0x73) reserved ? ? ? ? ? ? ? ? (0x72) reserved ? ? ? ? ? ? ? ? (0x71) reserved ? ? ? ? ? ? ? ? (0x70) reserved ? ? ? ? ? ? ? ? (0x6f) timsk1 ? ?icie1 ? ? ocie1b ocie1a toie1 page 120 (0x6e) timsk0 ? ? ? ? ? ocie0b ocie0a toie0 page 93 (0x6d) reserved ? ? ? ? ? ? ? ? (0x6c) reserved ? ? ? ? ? ? ? ? (0x6b) reserved ? ? ? ? ? ? ? ? (0x6a) reserved ? ? ? ? ? ? ? ? (0x69) eicra isc31 isc30 isc21 isc20 isc11 isc10 isc01 isc00 page 75 (0x68) reserved ? ? ? ? ? ? ? ? (0x67) reserved ? ? ? ? ? ? ? ? (0x66) osccal ? cal6 cal5 cal4 cal3 cal2 cal1 cal0 page 29 (0x65) reserved ? ? ? ? ? ? ? ? (0x64) prr prpsc2 prpsc1 prpsc0 prtim1 prtim0 prspi prusart pradc page 37 (0x63) reserved ? ? ? ? ? ? ? ? (0x62) reserved ? ? ? ? ? ? ? ? (0x61) clkpr clkpce ? ? ? clkps3 clkps2 clkps1 clkps0 page 33 (0x60) wdtcsr wdif wdie wdp3 wdce wde wdp2 wdp1 wdp0 page 48 0x3f (0x5f) sreg ithsvnz c page 11 0x3e (0x5e) sph sp15 sp14 sp13 sp12 sp11 sp10 sp9 sp8 page 14 0x3d (0x5d) spl sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 page 14 0x3c (0x5c) reserved ? ? ? ? ? ? ? ? 0x3b (0x5b) reserved ? ? ? ? ? ? ? ? 0x3a (0x5a) reserved ? ? ? ? ? ? ? ? 0x39 (0x59) reserved ? ? ? ? ? ? ? ? 0x38 (0x58) reserved ? ? ? ? ? ? ? ? 0x37 (0x57) spmcsr spmie rwwsb ? rwwsre blbset pgwrt pgers spmen page 256 0x36 (0x56) reserved ? ? ? ? ? ? ? ? 0x35 (0x55) mcucr spips ? ?pud ? ? ivsel ivce page 54 & page 62 0x34 (0x54) mcusr ? ? ? ? wdrf borf extrf porf page 44 0x33 (0x53) smcr ? ? ? ?sm2sm1sm0se page 35 0x32 (0x52) msmcr monitor stop mode control register reserved 0x31 (0x51) mondr monitor data register reserved 0x30 (0x50) acsr ? ac2if ac1if ac0if ? ac2o ac1o ac0o page 219 0x2f (0x4f) reserved ? ? ? ? ? ? ? ? 0x2e (0x4e) spdr spd7 spd6 spd5 spd4 spd3 spd2 spd1 spd0 page 171 0x2d (0x4d) spsr spif wcol ? ? ? ? ?spi2x page 171 0x2c (0x4c) spcr spie spe dord mstr cpol cpha spr1 spr0 page 169 0x2b (0x4b) reserved ? ? ? ? ? ? ? ? 0x2a (0x4a) reserved ? ? ? ? ? ? ? ? 0x29 (0x49) pllcsr - - - - - pllf plle plock page 31 0x28 (0x48) ocr0b ocr0b7 ocr0b6 ocr0b5 ocr0b4 ocr0b3 ocr0b2 ocr0b1 ocr0b0 page 93 0x27 (0x47) ocr0a ocr0a7 ocr0a6 ocr0a5 ocr0a4 ocr0a3 ocr0a2 ocr0a1 ocr0a0 page 93 0x26 (0x46) tcnt0 tcnt07 tcnt06 tcnt05 tcnt04 tcnt03 tcnt02 tcnt01 tcnt00 page 93 0x25 (0x45) tccr0b foc0a foc0b ? ? wgm02 cs02 cs01 cs00 page 91 0x24 (0x44) tccr0a com0a1 com0a0 com0b1 com0b0 ? ?wgm01wgm00 page 89 0x23 (0x43) gtccr tsm icpsel1 ? ? ? ? ? psrsync page 78 0x22 (0x42) eearh ? ? ? ? eear11 eear10 eear9 eear8 page 19 0x21 (0x41) eearl eear7 eear6 eear5 eear4 eear3 eear2 eear1 eear0 page 19 0x20 (0x40) eedr eedr7 eedr6 eedr5 eedr4 eedr3 eedr2 eedr1 eedr0 page 19 0x1f (0x3f) eecr ? ? ? ? eerie eemwe eewe eere page 20 0x1e (0x3e) gpior0 gpior07 gpior06 gpior05 gpior04 gpior03 gpior02 gpior01 gpior00 page 24 0x1d (0x3d) eimsk ? ? ? ? int3 int2 int1 int0 page 76 0x1c (0x3c) eifr ? ? ? ? intf3 intf2 intf1 intf0 page 76 0x1b (0x3b) gpior3 gpior37 gpior36 gpior35 gpior34 gpior33 gpior32 gpior31 gpior30 page 24 0x1a (0x3a) gpior2 gpior27 gpior26 gpior25 gpior24 gpior23 gpior22 gpior21 gpior20 page 24 0x19 (0x39) gpior1 gpior17 gpior16 gpior15 gpior14 gpior13 gpior12 gpior11 gpior10 page 24 0x18 (0x38) reserved ? ? ? ? ? ? ? ? 0x17 (0x37) reserved ? ? ? ? ? ? ? ? 0x16 (0x36) tifr1 ? ?icf1 ? ? ocf1b ocf1a tov1 page 120 address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
14 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 note: 1. for compatibility with future devices, reserved bits shou ld be written to zero if accesse d. reserved i/o memory addresse s should never be written. 2. i/o registers within the address range 0x00 - 0x1f are directly bit-accessible using the sbi and cbi instructions. in these registers, the value of single bits can be ch ecked by using the sbis and sbic instructions. 3. some of the status flags are cleared by writing a logical one to them. note that , unlike most other avrs, the cbi and sbi instructions will only operate on the specified bit, and can th erefore be used on registers containing such status flags. the cbi and sbi instructions work wit h registers 0x00 to 0x1f only. 4. when using the i/o specific commands in and out, the i/o addresses 0x00 - 0x3f must be used. when addressing i/o registers as data space using ld and st instructions, 0x20 mu st be added to these addre sses. the at90pwm216/316 is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in opcode for the in and out instructions. for the extended i/o space from 0x 60 - 0xff in sram, only the st/sts/std and ld/lds/ldd instructions can be used. 0x15 (0x35) tifr0 ? ? ? ? ? ocf0b ocf0a tov0 page 94 0x14 (0x34) reserved ? ? ? ? ? ? ? ? 0x13 (0x33) reserved ? ? ? ? ? ? ? ? 0x12 (0x32) reserved ? ? ? ? ? ? ? ? 0x11 (0x31) reserved ? ? ? ? ? ? ? ? 0x10 (0x30) reserved ? ? ? ? ? ? ? ? 0x0f (0x2f) reserved ? ? ? ? ? ? ? ? 0x0e (0x2e) porte ? ? ? ? ? porte2 porte1 porte0 page 74 0x0d (0x2d) ddre ? ? ? ? ? dde2 dde1 dde0 page 74 0x0c (0x2c) pine ? ? ? ? ? pine2 pine1 pine0 page 74 0x0b (0x2b) portd portd7 portd6 portd5 portd4 portd3 portd2 portd1 portd0 page 73 0x0a (0x2a) ddrd ddd7 ddd6 ddd5 ddd4 ddd3 ddd2 ddd1 ddd0 page 73 0x09 (0x29) pind pind7 pind6 pind5 pind4 pind3 pind2 pind1 pind0 page 74 0x08 (0x28) portc portc7 portc6 portc5 portc4 portc3 portc2 portc1 portc0 page 73 0x07 (0x27) ddrc ddc7 ddc6 ddc5 ddc4 ddc3 ddc2 ddc1 ddc0 page 73 0x06 (0x26) pinc pinc7 pinc6 pinc5 pinc4 pinc3 pinc2 pinc1 pinc0 page 73 0x05 (0x25) portb portb7 portb6 portb5 portb4 portb3 portb2 portb1 portb0 page 73 0x04 (0x24) ddrb ddb7 ddb6 ddb5 ddb4 ddb3 ddb2 ddb1 ddb0 page 73 0x03 (0x23) pinb pinb7 pinb6 pinb5 pinb4 pinb3 pinb2 pinb1 pinb0 page 73 0x02 (0x22) reserved ? ? ? ? ? ? ? ? 0x01 (0x21) reserved ? ? ? ? ? ? ? ? 0x00 (0x20) reserved ? ? ? ? ? ? ? ? address name bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 page
15 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 5. instruction set summary mnemonics operands description operation flags #clocks arithmetic and logic instructions add rd, rr add two registers rd ? rd + rr z,c,n,v,h 1 adc rd, rr add with carry two registers rd ? rd + rr + c z,c,n,v,h 1 adiw rdl,k add immediate to word rdh:rdl ? rdh:rdl + k z,c,n,v,s 2 sub rd, rr subtract two registers rd ? rd - rr z,c,n,v,h 1 subi rd, k subtract constant from register rd ? rd - k z,c,n,v,h 1 sbc rd, rr subtract with carry two registers rd ? rd - rr - c z,c,n,v,h 1 sbci rd, k subtract with carry constant from reg. rd ? rd - k - c z,c,n,v,h 1 sbiw rdl,k subtract immediate from word rdh:rdl ? rdh:rdl - k z,c,n,v,s 2 and rd, rr logical and registers rd ?? rd ? rr z,n,v 1 andi rd, k logical and register and constant rd ? rd ?? k z,n,v 1 or rd, rr logical or registers rd ? rd v rr z,n,v 1 ori rd, k logical or register and constant rd ?? rd v k z,n,v 1 eor rd, rr exclusive or registers rd ? rd ? rr z,n,v 1 com rd one?s complement rd ? 0xff ? rd z,c,n,v 1 neg rd two?s complement rd ? 0x00 ? rd z,c,n,v,h 1 sbr rd,k set bit(s) in register rd ? rd v k z,n,v 1 cbr rd,k clear bit(s) in register rd ? rd ? (0xff - k) z,n,v 1 inc rd increment rd ? rd + 1 z,n,v 1 dec rd decrement rd ? rd ? 1 z,n,v 1 tst rd test for zero or minus rd ? rd ? rd z,n,v 1 clr rd clear register rd ? rd ? rd z,n,v 1 ser rd set register rd ? 0xff none 1 mul rd, rr multiply unsigned r1:r0 ? rd x rr z,c 2 muls rd, rr multiply signed r1:r0 ? rd x rr z,c 2 mulsu rd, rr multiply signed with unsigned r1:r0 ? rd x rr z,c 2 fmul rd, rr fractional multiply unsigned r1:r0 ? (rd x rr) << 1 z,c 2 fmuls rd, rr fractional multiply signed r1:r0 ? (rd x rr) << 1 z,c 2 fmulsu rd, rr fractional multiply signed with unsigned r1:r0 ? (rd x rr) << 1 z,c 2 branch instructions rjmp k relative jump pc ?? pc + k + 1 none 2 ijmp indirect jump to (z) pc ? z none 2 jmp k direct jump pc ? knone3 rcall k relative subroutine call pc ? pc + k + 1 none 3 icall indirect call to (z) pc ? znone3 call k direct call pc ? knone4 ret subroutine return pc ? stack none 4 reti interrupt return pc ? stack i 4 cpse rd,rr compare, skip if equal if (rd = rr) pc ?? pc + 2 or 3 none 1/2/3 cp rd,rr compare rd ? rr z, n,v,c,h 1 cpc rd,rr compare with carry rd ? rr ? c z, n,v,c,h 1 cpi rd,k compare register with immediate rd ? k z, n,v,c,h 1 sbrc rr, b skip if bit in register cleared if (rr(b)=0) pc ? pc + 2 or 3 none 1/2/3 sbrs rr, b skip if bit in register is set if (rr(b)=1) pc ? pc + 2 or 3 none 1/2/3 sbic p, b skip if bit in i/o register cleared if (p(b)=0) pc ? pc + 2 or 3 none 1/2/3 sbis p, b skip if bit in i/o register is set if (p(b)=1) pc ? pc + 2 or 3 none 1/2/3 brbs s, k branch if status flag set if (sreg(s) = 1) then pc ? pc+k + 1 none 1/2 brbc s, k branch if status flag cleared if (sreg(s) = 0) then pc ? pc+k + 1 none 1/2 breq k branch if equal if (z = 1) then pc ? pc + k + 1 none 1/2 brne k branch if not equal if (z = 0) then pc ? pc + k + 1 none 1/2 brcs k branch if carry set if (c = 1) then pc ? pc + k + 1 none 1/2 brcc k branch if carry cleared if (c = 0) then pc ? pc + k + 1 none 1/2 brsh k branch if same or higher if (c = 0) then pc ? pc + k + 1 none 1/2 brlo k branch if lower if (c = 1) then pc ? pc + k + 1 none 1/2 brmi k branch if minus if (n = 1) then pc ? pc + k + 1 none 1/2 brpl k branch if plus if (n = 0) then pc ? pc + k + 1 none 1/2 brge k branch if greater or equal, signed if (n ? v= 0) then pc ? pc + k + 1 none 1/2 brlt k branch if less than zero, signed if (n ? v= 1) then pc ? pc + k + 1 none 1/2 brhs k branch if half carry flag set if (h = 1) then pc ? pc + k + 1 none 1/2 brhc k branch if half carry flag cleared if (h = 0) then pc ? pc + k + 1 none 1/2 brts k branch if t flag set if (t = 1) then pc ? pc + k + 1 none 1/2 brtc k branch if t flag cleared if (t = 0) then pc ? pc + k + 1 none 1/2 brvs k branch if overflow flag is set if (v = 1) then pc ? pc + k + 1 none 1/2 brvc k branch if overflow flag is cleared if (v = 0) then pc ? pc + k + 1 none 1/2 brie k branch if interrupt enabled if ( i = 1) then pc ? pc + k + 1 none 1/2 brid k branch if interrupt disabled if ( i = 0) then pc ? pc + k + 1 none 1/2
16 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 bit and bit-test instructions sbi p,b set bit in i/o register i/o(p,b) ? 1none2 cbi p,b clear bit in i/o register i/o(p,b) ? 0none2 lsl rd logical shift left rd(n+1) ? rd(n), rd(0) ? 0 z,c,n,v 1 lsr rd logical shift right rd(n) ? rd(n+1), rd(7) ? 0 z,c,n,v 1 rol rd rotate left through carry rd(0) ? c,rd(n+1) ? rd(n),c ? rd(7) z,c,n,v 1 ror rd rotate right through carry rd(7) ? c,rd(n) ? rd(n+1),c ? rd(0) z,c,n,v 1 asr rd arithmetic shift right rd(n) ? rd(n+1), n=0..6 z,c,n,v 1 swap rd swap nibbles rd(3..0) ? rd(7..4),rd(7..4) ? rd(3..0) none 1 bset s flag set sreg(s) ? 1 sreg(s) 1 bclr s flag clear sreg(s) ? 0 sreg(s) 1 bst rr, b bit store from register to t t ? rr(b) t 1 bld rd, b bit load from t to register rd(b) ? tnone1 sec set carry c ? 1c1 clc clear carry c ? 0 c 1 sen set negative flag n ? 1n1 cln clear negative flag n ? 0 n 1 sez set zero flag z ? 1z1 clz clear zero flag z ? 0 z 1 sei global interrupt enable i ? 1i1 cli global interrupt disable i ?? 0 i 1 ses set signed test flag s ? 1s1 cls clear signed test flag s ? 0 s 1 sev set twos complement overflow. v ? 1v1 clv clear twos complement overflow v ? 0 v 1 set set t in sreg t ? 1t1 clt clear t in sreg t ? 0 t 1 seh set half carry flag in sreg h ? 1h1 clh clear half carry flag in sreg h ? 0 h 1 data transfer instructions mov rd, rr move between registers rd ? rr none 1 movw rd, rr copy register word rd+1:rd ? rr+1:rr none 1 ldi rd, k load immediate rd ? knone1 ld rd, x load indirect rd ? (x) none 2 ld rd, x+ load indirect and post-inc. rd ? (x), x ? x + 1 none 2 ld rd, - x load indirect and pre-dec. x ? x - 1, rd ? (x) none 2 ld rd, y load indirect rd ? (y) none 2 ld rd, y+ load indirect and post-inc. rd ? (y), y ? y + 1 none 2 ld rd, - y load indirect and pre-dec. y ? y - 1, rd ? (y) none 2 ldd rd,y+q load indirect with displacement rd ? (y + q) none 2 ld rd, z load indirect rd ? (z) none 2 ld rd, z+ load indirect and post-inc. rd ? (z), z ? z+1 none 2 ld rd, -z load indirect and pre-dec. z ? z - 1, rd ? (z) none 2 ldd rd, z+q load indirect with displacement rd ? (z + q) none 2 lds rd, k load direct from sram rd ? (k) none 2 st x, rr store indirect (x) ?? rr none 2 st x+, rr store indirect and post-inc. (x) ?? rr, x ? x + 1 none 2 st - x, rr store indirect and pre-dec. x ? x - 1, (x) ? rr none 2 st y, rr store indirect (y) ? rr none 2 st y+, rr store indirect and post-inc. (y) ? rr, y ? y + 1 none 2 st - y, rr store indirect and pre-dec. y ? y - 1, (y) ? rr none 2 std y+q,rr store indirect with displacement (y + q) ? rr none 2 st z, rr store indirect (z) ? rr none 2 st z+, rr store indirect and post-inc. (z) ? rr, z ? z + 1 none 2 st -z, rr store indirect and pre-dec. z ? z - 1, (z) ? rr none 2 std z+q,rr store indirect with displacement (z + q) ? rr none 2 sts k, rr store direct to sram (k) ? rr none 2 lpm load program memory r0 ? (z) none 3 lpm rd, z load program memory rd ? (z) none 3 lpm rd, z+ load program memory and post-inc rd ? (z), z ? z+1 none 3 spm store program memory (z) ? r1:r0 none - in rd, p in port rd ? pnone1 out p, rr out port p ? rr none 1 push rr push register on stack stack ? rr none 2 pop rd pop register from stack rd ? stack none 2 mcu control instructions nop no operation none 1 sleep sleep (see specific descr. for sleep function) none 1 mnemonics operands description operation flags #clocks
17 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 wdr watchdog reset (see specific descr. for wdr/timer) none 1 break break for on-chip debug only none n/a mnemonics operands description operation flags #clocks
18 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 6. ordering information note: all packages are pb free, fully lhf note: this device can also be supplied in wafer form. please contact your local atmel sales office for detailed ordering informa tion and minimum quantities. note: parts numbers are for shipping in sti cks (so) or in trays (qfn). these devices ca n also be supplied in tape and reel. plea se contact your local atmel sales office for detailed ordering information and minimum quantities. 7. package information speed (mhz) power supply ordering code package operation range 16 2.7 - 5.5v at90pwm316-16se so32 engineering samples 16 2.7 - 5.5v at90pwm316-16me qfn32 engineering samples 16 2.7 - 5.5v at90pwm216-16se so24 engineering samples 16 2.7 - 5.5v at90pwm316-16su so32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm316-16mu qfn32 extended (-4 0 ? c to 105 ? c) 16 2.7 - 5.5v at90pwm216-16su so24 extended (-4 0 ? c to 105 ? c) package type so24 24-lead, small outline package so32 32-lead, small outline package qfn32 32-lead, quad flat no lead
19 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 7.1 so24
20 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 7.2 so32
21 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 7.3 qfn32
22 at90pwm216/316 [datasheet] 7710hs?avr?07/2013
23 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 8. errata at90pwm216/316 8.1 revision c ? dac driver linearity above 3.6v 1. dac driver linearity above 3.6v with 5v v cc , the dac driver linearity is poor when dac output level is above v cc -1v. at 5v, dac output for 1023 will be around 5v - 40mv. work around: use, when vcc=5v, v ref below v cc -1v or, when v ref =v cc =5v, do not uses codes above 800. 8.2 revision b ? dac driver linearity above 3.6v ? psc ocrxx register update according to plock2 usage 1. dac driver linearity above 3.6v with 5v v cc , the dac driver linearity is poor when dac output level is above v cc -1v. at 5v, dac output for 1023 will be around 5v - 40mv. work around: use, when vcc=5v, v ref below v cc -1v or, when v ref =v cc =5v, do not uses codes above 800. 2. psc ocrxx register update according to plock2 usage if the psc is clocked from pll, and if plock2 bit is changed at the same time as psc end of cycle occurs, and if ocrxx registers contents have been changed, then the updated ocrxx registers contents are not predictable. the cause is a synchronization issue between two regi sters in two different cloc k domains (pll clock which clocks psc and cpu clock). workaround: enable the psc end of cycle interrupt. at the beginning of psc eoc interrupt vector, change plock value (ocrxx registers can be updated outside the interrupt vector). this process guarantees that update and plock actions will not occur at the same moment.
24 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 8.3 revision a ? dac driver linearity above 3.6v ? psc ocrxx register update according to plock2 usage 1. dac driver linearity above 3.6v with 5v v cc , the dac driver linearity is poor when dac output level is above v cc -1v. at 5v, dac output for 1023 will be around 5v - 40mv. work around: use, when vcc=5v, v ref below v cc -1v or, when v ref =v cc =5v, do not uses codes above 800. 2. psc ocrxx register update according to plock2 usage if the psc is clocked from pll, and if plock2 bit is changed at the same time as psc end of cycle occurs, and if ocrxx registers contents have been changed, then the updated ocrxx registers contents are not predictable. the cause is a synchronization issue between two regi sters in two different cloc k domains (pll clock which clocks psc and cpu clock). workaround: enable the psc end of cycle interrupt. at the beginning of psc eoc interrupt vector, change plock value (ocrxx registers can be updated outside the interrupt vector). this process guarantees that update and plock actions will not occur at the same moment.
25 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 9. datasheet revision hi story for at90pwm216/316 please note that the referring page numbers in this section are referred to this document. the referring revision in this section are referring to the document revision. 9.1 rev. 7710h ? 07/2013 9.2 rev. 7710g ? 03/2013 1. removed ?1. history? chapter. 2. errata: ?revision c? on page 23 : errata added. ?revision b? on page 23 : errata added. ?revision a? on page 24 : errata updated. 1. applied the atmel new brand template that includes new logo and new addresses. 2. added note to the mlf/qfn package: the center gnd paddle has to be connected to gnd. 3. updated the figure 2-1 on page 3 . pin 18 changed to agnd instead of gnd. 4. updated the figure 2-2 on page 4 . pin 24 changed to agnd instead of gnd. 5. added note to the mlf/qfn package: the center gnd paddle has to be connected to gnd. 6. updated figure 5-2 on page 18 . 7. updated table 6-2 on page 26 . 8. updated ?mcu control register ? mcucr? on page 62 . added link for bit 4: ?configuring the pin? on page 57 . 9. corrected ?typos? in ?overview? on page 122 . 10. updated ?features? on page 122 . correct feature is: abnormality protection function, emergency input to force all outputs to low level. 11. updated ?center aligned mode? on page 130 . the label pscn00 and pscn01 are incorrect and are respectively replaced by pscn0 and pscn1. 12. updated the formula of ? the waveform frequency is defined by the following equation? in ?normal mode? on page 134 . 13. updated the formula of f average in ?enhanced mode? on page 135 . 14. updated ?input mode operation? on page 140 . added a link to the table 15-6 . 15. updated ?psc synchronization? on page 151 . the correct content: if the pscn has its parunn bit set, then it can start at the same time as pscn-1. 16. updated ?psc 1 control register ? pctl1? on page 158 . bit 4 and bit 3 linked to ?psc input configuration? on page 139 . 17. updated content description of bit 1 and bit 3 in ?psc 2 synchro and output co nfiguration ? psoc2? on page 154 . 18. updated ?output compare sa register ? ocrnsah and ocrnsal? on page 155 and ?output compare rb register ? ocrnrbh and ocrnrbl? on page 155 . the registers are r/w and not only w. 19. 20. updated ?overview? on page 215 . removed ?or clki/o/2? from the overview description. 21. updated figure 19-1 on page 216 , ?analog comparator block diagram(1)(2)? .
26 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 9.3 rev. 7710f ? 09/11 9.4 rev. 7710e ? 08/10 9.5 rev. 7710d 1. updated table page 2. 2. updated ?absolute maximum ratings*? on page 283 22. updated ?analog comparator status register ? acsr? on page 219 . added bit 3 - clkpll 23. updated ?amplifier? on page 239 . the correct content: ?the adc starting is done by setting the adsc (adc start conversion) bit in the adcsra register?. 24. updated figure 20-15 on page 240 and figure 20-16 on page 241 . changed ckadc to ckadc2. 25. updated ?psc output behavior during reset? on page 266 . if pscrv fuse equals 0 (programmed), the selected psc outputs will be forced to high state. if pscrv fuse equals 1 (unprogrammed), the selected psc outputs will be forced to low state. 26. updated ?electrical characteristics? on page 283 . added ?dac characteristics? on page 290 . 27. updated the table 25-1 on page 285 . replaced -40 ? c - 85 ? c with -40 ? c to 105 ? c 28. updated table 25-5 on page 289 . replaced v int parameter by a ref . min and max values updated. 1. updated table 8-1 on page 41 . added v por and v ccr in the table. 2. updated table 8-2 on page 42 . added min and max values for 101 and 010. 3. updated table 25-2 on page 286 . v cc = 1.8 - 5.5v columns removed. 1. updated ?port c (pc7..pc0)? on page 9 . 2. inserted a footnote ?at90pwm216 device is available in soic 24-pin package and does not have the d2a (dac output) brought out to i/0 pins.? on page 9 . 3. updated ?idle mode? on page 35 by removing the reference to acd. 4. updated ?voltage reference enable signals and start-up time? on page 44 . removed reference to acbg. 4. updated table 15-14 on page 157 ; table 15-15 on page 158 and table 15-16 on page 159 5. removed reference to the acckdiv from ?analog comparator? on page 215 and from ?register summary? on page 11 . 6. updated ?adc prescaler selection? on page 237 . 7. updated table 25-5 on page 289 with max and min value for internal voltage reference 8. removed ac2sade bit from ?register summary? on page 11 .
27 at90pwm216/316 [datasheet] 7710hs?avr?07/2013 9.6 rev. 7710c 1. updated table page 2. 2. updated section ?interna l calibrated rc oscillator operat ing modes(1)(2)? on page 28. 3. updated section ?features? on page 245. 4. updated table in section ?electrical characteristics? on page 283. 5. added section section ?calibrated internal rc oscillator accuracy? on page 285. 6. updated table 25-5 on page 289 . 7. updated figure 26-36 on page 312 . 8. updated figure 26-37 on page 313 . 9. updated figure 26-38 on page 313 . 9.7 rev. 7710b 1. updated ?section ?in-system reprogra mmable flash program memory?, page 17 2. updated ? figure 5-1 on page 17 3. updated ? figure 6-1 on page 26 4. updated ? figure 6-7 on page 30 5. updated ? table 20-1 on page 227 6. updated ?section ?adc noise canceler?, page 228 7. updated ? table 20-6 on page 237 8. added ? table 20-7 on page 238 9. updated ?section ?amplifier?, page 239 10. updated ? figure 20-15 on page 240 11. added ? figure 20-16 on page 241 12. updated ? figure 20-17 on page 242 13. updated ?section ?amplifier 0 control and status register ? amp0csr?, page 243 14. updated ? table 20-9 on page 243 15. updated ?section ?amplifier 1control a nd status register ? amp1csr?, page 244 16. updated ? table 20-9 on page 243 17. updated ? table 20-11 on page 244 18. updated ? table 23-6 on page 263 19. updated ? table 23-7 on page 263 20. updated ? table 23-8 on page 263 21. updated ?section ?dc characteristics?, page 284 22. updated ? table 25-5 on page 289 23. updated ?section ?example 1?, page 298 24. updated ?section ?example 2?, page 298 25. updated ?section ?example 3?, page 298 26. added ? figure 26-22 on page 305 27. updated ?section ?instruction set summary?, page 15 28. added ?section ?errata at90pwm216/316?, page 23 9.8 rev. 7710a 1. document creation.
atmel corporation 1600 technology drive san jose, ca 95110 usa tel: (+1) (408) 441-0311 fax: (+1) (408) 487-2600 www.atmel.com atmel asia limited unit 01-5 & 16, 19f bea tower, millennium city 5 418 kwun tong roa kwun tong, kowloon hong kong tel: (+852) 2245-6100 fax: (+852) 2722-1369 atmel munich gmbh business campus parkring 4 d-85748 garching b. munich germany tel: (+49) 89-31970-0 fax: (+49) 89-3194621 atmel japan g.k. 16f shin-osaki kangyo bldg 1-6-4 osaki, shinagawa-ku tokyo 141-0032 japan tel: (+81) (3) 6417-0300 fax: (+81) (3) 6417-0370 ? 2013 atmel corporation. all rights reserved. / rev.: 7710hs?avr?07/2013 disclaimer: the information in this document is provided in co nnection with atmel products. no lic ense, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. exc ept as set forth in the atmel terms and conditions of sales locat ed on the atmel website, atmel assumes no liability whatsoever and disclaims any express, implied or statutory warranty relating to its products including, but not li mited to, the implied warranty of merchantability, fitness for a particular purpose, or non-infringement. in no event shall atmel be liable for any d irect, indirect, consequential, punitive, special or incide ntal damages (including, without limitation, damages for loss and profits, business i nterruption, or loss of information) arising out of the us e or inability to use this document, even if at mel has been advised of the possibility of suc h damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the ri ght to make changes to specifications and products descriptions at any time without notice. atmel does not make any commitment to update th e information contained herein. un less specifically provided oth erwise, atmel products are not suitable for, and shall not be used in, automotive applications. atmel products are not intended, authorized, or warranted for use as components in applications intend ed to support or sustain life. atmel ? , atmel logo and combinations thereof, enabling unlimited possibilities ? , and others are registered trademarks or trademarks of atmel corporation or its subsidiaries. other terms and product names may be trademarks of others.


▲Up To Search▲   

 
Price & Availability of AT90PWM216-16SUR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X